//
//  SoundService.h
//  CarClub
//
//  Created by 陈区 on 13-1-9.
//  Copyright (c) 2013年 陈区. All rights reserved.
//

#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>

@interface SoundService : NSObject {

    BOOL isCanPlaySound; //是否可以播放声音
}
@property (nonatomic, assign) BOOL isCanPlaySound; //是否可以播放声音
@property (nonatomic, strong) AVPlayer *player;
+ (SoundService*)sharedSoundService;

//播放接收消息
- (void)playRecvMsg;

//播放点击开门声音
- (void)clickDoorOpen;

//播放开锁声音
- (void)doorOpenMsg;

//震动
- (void)playVibrate;

@end
